<div class="mainbar">
	<div class="article">
		<h2>
			<span>Check Sudoku</span>
		</h2>
		<div class="clr"></div>
		<div class="bg-custom col-md-11 col-md-offset-1" align="center">
			<form role="form" action="/sudoku/sudoku" method="post">
				<table>
					<?php for ($i=0, $n=0; $i<9; $i++):?>
					<tr>
						<?php for ($j=0; $j<9; $j++):?>
						<td><input name="<?php echo $n++;?>" type="text" style="height: 50px; width: 50px; text-align: center;"/></td>
						<?php endfor;?>
					</tr>
					<?php endfor;?>
				</table>
				<br>
				<button class="btn btn-info" type="submit">Check</button>
			</form>
			<?php if ($checked):?>
				<h2><?php if($flag) {echo 'True';} else {echo 'False';}?></h2>
				<br>				
				<h2><?php echo $time?></h2>
			<?php endif;?>
		</div>
	</div>
</div>
<div class="clr"></div>
